package design_pattern.facade;

/**
 * Created by WeiDingKuo on 2017/10/27 17:24
 * <p>
 * 门面模式
 * <p>
 * 对外提供门面接口，将复杂的操作隐藏到子系统中
 * 不管子系统如何变化，外界都不必关心
 */
public class Test {
    public static void main(String[] args) {
        Facade facade1 = new FacadeImpl1();
        facade1.dosomething();
        System.out.println("==========");
        Facade facade2 = new FacadeImpl2();
        facade2.dosomething();
    }
}
